package com.qq.ssm.swagger;

public class desertsApi {
/*    @Bean
    public Docket desertsApi(Environment environment){

//开发环境和测试环境
        Profiles profiles=Profiles.of("dev","test");
//判断是否处在自己设定的环境当中
        return new Docket(DocumentationType.OAS_30)
                .apiInfo(apiInfo())
                .select()
                .apis(RequestHandlerSelectors.basePackage("com.example.swagger_demo.controller"))//按包扫描,
                .paths(PathSelectors.any())
                .build()
                .groupName("jf3q")
                .enable(true);
    }*/
}
